import Vue from 'vue'
import App from './App.vue'
import router from './router'
import myTabItem from '@/components/myTabItem/myTabItem.vue'
import './assets/css/index.css'
import bus from './uitls/bus'
Vue.config.productionTip = false
Vue.component('my-tab-item', myTabItem) // 这种注册组件的方式叫做全局自定义组件
Vue.prototype.$bus = bus
Vue.filter('formatePrice', (val) => {
    return val.toFixed(2)
})
new Vue({
    router,
    provide: {
        tel: 110
    },
    render: h => h(App)
}).$mount('#app')